apt-get update && apt-get -y install protobuf-compiler
#export GOPROXY=https://goproxy.io,direct
go install github.com/go-kratos/kratos/cmd/kratos/v2@latest && kratos upgrade

# installation dependency
go install github.com/google/wire/cmd/wire@latest

# generate all codes of proto and wire etc.
go generate ./...

# run the application
kratos run
